﻿using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.FP;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.FP
{
    public partial interface IBase_OverFlowBusiness
    {
        Task<PageResult<Base_OverFlow>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<List<Base_OverFlowTask>> GetTaskDataListAsync();
        Task<OverFlowTaskDTO> GetTaskInfoDataAsync(OverFlowInputDTO input);
        Task<Base_OverFlow> GetTheDataAsync(string id);
        Task AddDataAsync(FP_FlowProcessDTO data);
        Task UpdateDataAsync(FP_FlowProcessDTO data);
        Task DeleteDataAsync(List<string> ids);
        Task ApprovedDataAsync(OverFlowInputDTO input);
        Task RejectDataAsync(OverFlowInputDTO input);
        Task<Util.Helper.DingInputDTO> GetDingInputAsync(string billId,string billType);

        Task<List<Base_OverFlowTask>> GetTaskDataListInfoAsync(string ProjectId,string BuildingnumberId);
        Task <string> GetTheBillType(string Id);
        Task<int?> GetTheDesignState(string Id);
    }
}